package org.example.exceptionHandler;

import lombok.Data;

@Data
public class TodoException extends RuntimeException{
    public  int errorCode;
    public TodoException(String message,int errorCode){
        super(message);
        this.errorCode=errorCode;
    }
}
